package com.kylin.authority.api.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.ToString;
import lombok.Value;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/***
 * 更新媒体应用请求
 * @author Damon S.
 */
@Value
@ToString
@Builder
@ApiModel(value = "媒体应用属性编辑参数")
public class PromoteUserReq implements Serializable {

    @ApiModelProperty(value = "用户cpId", required = true)
    @NotNull(message = "应用标识ID不能为空")
    Long userId;

    @ApiModelProperty(value = "身份类型")
    String type;

    @ApiModelProperty(value = "身份子类型")
    String subType;

    @ApiModelProperty(value = "SP类型")
    String spType;

    @ApiModelProperty(value = "星标")
    String star;

    @ApiModelProperty(value = "星标名称")
    String starTitle;

    @ApiModelProperty(value = "是否点亮")
    Short isLightening;
}
